package com.fwj.extendsexample;

/**
 * @author stone.feng
 * @since 2019-01-28
 */
public class Test {

    private static final int a;

    static {
        a = 1;
    }

    public static void main(String[] args) {
        Animal cat = new Cat();
        cat.eat();
        Animal dog = new Dog();
        dog.eat();

        cat.play();

        cat.run();
    }
}
